import request from '../utils/request'
//获取用户信息
export const getUserMessage=(token:string)=>{
    return request({
        url:'/api/users/self',
        headers:{
            Authorization: 'Bearer '+token
        }


    })

}
